package com.CST.controller.cb;


import com.CST.dto.cb.InSourceDTO;
import com.CST.service.cb.IEtlOutpatientIncomeService;
import com.CST.vo.cb.InSourceVO;
import io.swagger.annotations.*;
import java.util.*;
import org.springframework.beans.factory.annotation.*;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.bind.annotation.RestController;

/**
* @author ly
* @since 2022-08-29
*/
@Api(tags = {"视图采集门诊收入"})
@RestController
@RequestMapping("/etlOutpatientIncome2021")

    public class EtlOutpatientIncomeController {

    @Autowired
    private IEtlOutpatientIncomeService targetService;


    @PostMapping("/getOutpatientList")
    @ApiOperation("获取门诊收入明细")
    public List<InSourceVO> getOutpatientList(@RequestBody InSourceDTO entity) {
        return targetService.getOutpatientList(entity);
    }





}

